PreviousNextTracker indexSee it online !

(16/207) 1541813 - Hide final EOL should initially be unchecked

Hide final EOL should initially be unchecked, we
shouldn't show the "wrong" file-contents if not
explicitly asked for by the user.

Sorry if this is a dupe, but I have many bugs to post
and am too lazy to check them all for dupes
currently. :-)

OS: Windows XP
Java Version: Sun Java 1.5.0_06-b05
jEdit Version: SVN Revision 6684

Submitted vampire0 - 2006-08-17 - 09:03:04z Assigned nobody
Priority 5 Category None
Status Open Group None
Resolution None Visibility No

Comments

2008-03-04 - 21:31:09z
kpouer
Logged In: YES
user_id=285591
Originator: NO

I'm not sure about this, some other editors hide this final EOL by default, I tried vi and gedit.
2008-03-04 - 21:46:20z
eyebex
Logged In: YES
user_id=787298
Originator: NO

I agree it should be unchecked by default. AFAIK the C/C++ standard requires a final EOL to guarantee defined compiler behavior, and GCC will print out a warning if it's missing, so the default should make it easy to verify it's actually there.

BTW: VI hides the final EOL because it always implicitly adds one, AFAIK.

Attachments